package cenario3;
public class Principal {

	@SuppressWarnings("unused")
	public static void main(String[] args) {
		Paciente p1 = new Paciente("000123", "Fulano da Silva");
		Paciente p2 = new Paciente("900011", "Cicrano Romano");
		p2.addHistorico("Dor de cabeca");
		
		
		Compromisso c1 = new Compromisso(p1, "02/10/2002", "13:40", "Joao Camargo");
		Compromisso c2 = new Compromisso(p2, "10/09/2003", "14:20", "Beltrano Minolo");
		
		System.out.println("Nome: " + p1.getNome() + "\nData: " + c1.getData() + "\nHora: " +
		c1.getHora() + "\nMedico: " + c1.getMedico());
		
		
	}

}
